<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
    <title>Crank Crud Example: Employee</title>
</head>

<body>
<s:actionerror/>
<s:actionmessage />

<h3>Employee</h3>

Employee count = <s:property value="employeeCount"/>

<ul>
<s:iterator value="employees">
<li><s:property value="firstName"/> <s:property value="lastName"/></li>
</s:iterator>
</ul>

<div id="control">
<s:url var="url" namespace="/example" action="employeeNew"/><s:a href="%{url}">Create Employee</s:a>
</div>
</body>
</html>
